PaymentPlugins\WooCommerce\PPCP\Integrations\WooCommerceSubscriptions A

Total Complexity 57
Dependencies 18
Dependents 1
Total lines 312
Lines of code 229
Logical lines of code 143
Comment lines 43
Methods 13
Properties 4

Methods 13

Method Rating Maintainability Complexity Lines of code
get_paypal_flow()
A
51 15 25
process_payment()
A
43 10 46
scheduled_subscription_payment()
A
45 7 41
process_change_payment_method_request()
S
46 5 36
handle_checkout_validation()
S
55 5 18
get_formatted_cart_item()
S
66 4 8
update_failing_payment_method()
S
59 3 14
save_order_meta()
S
65 2 9
is_change_payment_method_request()
S
76 2 4
add_subscription_payment_meta()
S
63 1 11
__construct()
S
74 1 5
is_active()
S
80 1 3
initialize()
S
63 1 9